package com.lx.patterns.visitor;

/**
 * @ClassName Cat
 * @Description: 猫
 * @Author: 落雪
 * @CreateDate: 2025/2/15 14:09
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/2/15 14:09
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Cat  implements Animal{
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("吃完了,喵喵喵");
    }
}
